//
//  ReportProjectDeviceInfoCell.h
//  efairy
//
//  Created by 李锋 on 2019/3/21.
//  Copyright © 2019年 East. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "ReportProjectDeviceInfoModel.h"

NS_ASSUME_NONNULL_BEGIN

@interface ReportProjectDeviceInfoCell : UITableViewCell
@property(nonatomic,strong)UILabel *deviceName;//设备名称
@property(nonatomic,strong)UIView *line;

@property(nonatomic,strong)UILabel *deviceTypeTitle;
@property(nonatomic,strong)UILabel *deviceType;   // 设备类型

@property(nonatomic,strong)UILabel *alarmTitle;
@property(nonatomic,strong)UILabel *alarm;   //报警次数

@property(nonatomic,strong)UILabel *warningTitle;
@property(nonatomic,strong)UILabel *warning;  // 预警次数


@property(nonatomic,strong)UILabel *troubleTitle;
@property(nonatomic,strong)UILabel *trouble;  // 故障次数

@property(nonatomic,strong)UILabel *deviceAddressTitle;
@property(nonatomic,strong)UILabel *deviceAddress;  // 设备地址


@property(nonatomic,strong)UILabel *deviceUserTitle;//设备拥有者；
@property(nonatomic,strong)UILabel *userPhone;//拥有人电话

@property(nonatomic,strong)UIView *line2;
@property(nonatomic,strong)UIView *alarmTypeUIView;
@property(nonatomic,strong)UIImageView *typeImage;

@property(nonatomic,strong)UILabel *alarmType;//报警类型
@property(nonatomic,strong)UILabel *alarmDates;  // 报警时间段
@property(nonatomic,strong)UILabel *score;//峰值分数；

@property(nonatomic,strong)UIView *riskUIView;
@property(nonatomic,strong)UIImageView *riskImage;
@property(nonatomic,strong)UILabel *risk;//风险评估

@property(nonatomic,copy) void (^chooseAlarmTypeBlock)(void);
@property(nonatomic,copy) void (^chooseRiskTypeBlock)(void);


-(void)setDataModel:(ReportProjectDeviceInfoModel *)data typeName:(NSString *)typeName riskName:(NSString *)riskName;
@end

NS_ASSUME_NONNULL_END
